﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LinqToBing.Bing.Wrapper.Common
{
    /// <summary>
    /// Class containing significant URIs for the application
    /// </summary>
    public class URIs
    {
        /// <summary>
        /// Base Uri for Bing searches through APIs
        /// </summary>
        /// <remarks>
        /// Previous base uri was : "api.search.live.net", this Uri is still working...
        /// </remarks>
        public static string Bing_HTTP_base_url = "api.bing.net"; 

        /// <summary>
        /// Base Uri for Bing searches using XML for data transportation
        /// </summary>
        public static Uri Bing_HTTP_Get_XML = new Uri(string.Format("http://{0}/xml.aspx", Bing_HTTP_base_url));

        /// <summary>
        /// Base Uri for Bing searches using XML for data transportation
        /// </summary>
        public static Uri Bing_HTTP_Get_JSON = new Uri(string.Format("http://{0}/json.aspx", Bing_HTTP_base_url));
    }
}
